package com.sdhs.paas.redisservice.entity;

import java.io.Serializable;

public class RedisBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2019027342689821488L;

	private String key;

	private Object value;

	/**
	 * 超时时间
	 * */
	private Long expireSeconds;
	
	/**
	 * value的偏移量
	 * */
	private Long offset;
	/**
	 * 开始位置
	 * */
	private Long start;
	/**
	 * 结束位置
	 * */
	private Long end;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Long getExpireSeconds() {
		return expireSeconds;
	}

	public void setExpireSeconds(Long expireSeconds) {
		this.expireSeconds = expireSeconds;
	}

	public Long getOffset() {
		return offset;
	}

	public void setOffset(Long offset) {
		this.offset = offset;
	}

	public Long getStart() {
		return start;
	}

	public void setStart(Long start) {
		this.start = start;
	}

	public Long getEnd() {
		return end;
	}

	public void setEnd(Long end) {
		this.end = end;
	}

	@Override
	public String toString() {
		return "RedisBean [key=" + key + ", value=" + value + "]";
	}

}
